﻿package com.toncen.samepms.system.domain;

import com.toncen.samepms.common.AbstractDomain;
import com.sky.dataimport.DynamicCellDataCell;
import com.sky.dataimport.DynamicCellDataRow;
import com.sky.dataimport.DynamicRowDataCell;
import com.sky.dataimport.DynamicRowDataRow;
import com.sky.dataimport.StaticDataCell;
import com.sky.dataimport.StaticDataRow;
import com.sky.dataimport.datatype.IntegerDataType;
 
/**
 * 描述：系统角色模块权限分配表表SYSTEM_ROLE_BLOCK_RIGHT的domain文件
 * 
 * @author tch
 */
@DynamicRowDataRow(title = "动态行系统角色模块权限分配表", sheetIndex = 1, startRowIndex = 2, startCellIndex = 1, inserted = false)
@DynamicCellDataRow(title = "动态列系统角色模块权限分配表", sheetIndex = 1, startRowIndex = 2, startCellIndex = 2, inserted = false)
@StaticDataRow(title = "静态行列系统角色模块权限分配表", sheetIndex = 1)
public class RoleBlockRight extends AbstractDomain {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1338535533843L;
	
	/**
	 * 角色标识
	 */ 
	@StaticDataCell(rowIndex = 1, cellIndex = 1, title = "角色标识")
	@DynamicRowDataCell(cellIndex = 1,  title = "角色标识", require = false)
	@DynamicCellDataCell(rowIndex = 1,  title = "角色标识", require = false)
	@IntegerDataType(msg = "必须为整数类型")
	private  long roleId; 	 
    
	/**
	 * 模块名称
	 */ 
	@StaticDataCell(rowIndex = 2, cellIndex = 2, title = "模块名称")
	@DynamicRowDataCell(cellIndex = 2,  title = "模块名称", require = false)
	@DynamicCellDataCell(rowIndex = 2,  title = "模块名称", require = false)
	private  String blockName; 	 
    
	/**
	 * 模块代码
	 */ 
	@StaticDataCell(rowIndex = 3, cellIndex = 3, title = "模块代码")
	@DynamicRowDataCell(cellIndex = 3,  title = "模块代码", require = false)
	@DynamicCellDataCell(rowIndex = 3,  title = "模块代码", require = false)
	private  String blockNum; 	 
    
	/**
	 * 权限代码
	 */ 
	@StaticDataCell(rowIndex = 4, cellIndex = 4, title = "权限代码")
	@DynamicRowDataCell(cellIndex = 4,  title = "权限代码", require = false)
	@DynamicCellDataCell(rowIndex = 4,  title = "权限代码", require = false)
	private  String rightCode; 	 
    
	/**
	 * 权限是否可用
	 */ 
	@StaticDataCell(rowIndex = 5, cellIndex = 5, title = "权限是否可用")
	@DynamicRowDataCell(cellIndex = 5,  title = "权限是否可用", require = false)
	@DynamicCellDataCell(rowIndex = 5,  title = "权限是否可用", require = false)
	private  String rightIsok; 	 
    

	public RoleBlockRight() {
		super();
	}

	/**
	 * @return the  roleId
	 */
	public  long getRoleId() {
		return  roleId;
	}

	/**
	 * @param  roleId
	 *            the  roleId to set
	 */
	public void setRoleId( long  roleId) {
		this. roleId =  roleId;
	}
	
	/**
	 * @return the  blockName
	 */
	public  String getBlockName() {
		return  blockName;
	}

	/**
	 * @param  blockName
	 *            the  blockName to set
	 */
	public void setBlockName( String  blockName) {
		this. blockName =  blockName;
	}
	
	/**
	 * @return the  blockNum
	 */
	public  String getBlockNum() {
		return  blockNum;
	}

	/**
	 * @param  blockNum
	 *            the  blockNum to set
	 */
	public void setBlockNum( String  blockNum) {
		this. blockNum =  blockNum;
	}
	
	/**
	 * @return the  rightCode
	 */
	public  String getRightCode() {
		return  rightCode;
	}

	/**
	 * @param  rightCode
	 *            the  rightCode to set
	 */
	public void setRightCode( String  rightCode) {
		this. rightCode =  rightCode;
	}
	
	/**
	 * @return the  rightIsok
	 */
	public  String getRightIsok() {
		return  rightIsok;
	}

	/**
	 * @param  rightIsok
	 *            the  rightIsok to set
	 */
	public void setRightIsok( String  rightIsok) {
		this. rightIsok =  rightIsok;
	}
	
}
